<?php
	class diemthilaibs
	{
		public $MaHocSinh = "";
		public $MaMonHoc = 0;
		public $DiemThi = 0;
		public $DiemTB = 0;
		public $HocKy = "";
		public $NamHoc = "";
		public function Add()
		{
			$db = new diemthilaidb();
			return $db->Add($this->MaHocSinh,$this->MaMonHoc,$this->DiemThi,$this->DiemTB,$this->HocKy,$this->NamHoc);
		}
		
		public function Delete()
		{
			$db = new diemthilaidb();
			return $db->Delete($this->MaHocSinh, $this->MaMonHoc , $this->HocKy,$this->NamHoc);
		}
		
		public function Update()
		{
			$db = new diemthilaidb();
			return $db->Update($this->MaHocSinh,$this->MaMonHoc,$this->DiemThi,$this->DiemTB,$this->HocKy,$this->NamHoc);
		}
			
		public function GetList()
		{
			$db = new diemthilaidb();
			return $db->GetList($this->MaHocSinh,$this->MaMonHoc,$this->DiemThi,$this->DiemTB,$this->HocKy,$this->NamHoc);
		}
		
		
	}
?>